package pri.damai.xiaowu.order.common.dto;

import lombok.Data;

import java.io.Serializable;
import java.util.List;

/**
 * 创建订单
 * @Desc
 * @Author yxf
 * @Date 2022/4/28 22:02
 * 但行好事，莫问前程。
 */
@Data
public class CreateOrderDTO implements Serializable {

    private List<OrderGoods> goodsList;

    private Long userId;

    @Data
    public static class OrderGoods implements Serializable{
        //商品表Id
        private Long skuId;
        //商品名称
        private String goodsName;
        private Integer goodsNum;
        //商品主图
        private String goodsMainImg;
        //售价
        private Long sellingPrice;
        //原价
        private Long originalPrice;
        //结算金额
        private Long settlementPrice;
    }

}
